package classifier;

public class TestClass {
	public static void main(String args[]) {
		// ClassifierAdapter ca = new ClassifierAdapter();
		// ca.initialize("jdbc:mysql://goanna.cs.rmit.edu.au:56555/research");
		// System.out.println(ca
		// .getPost("BLOG06-20060206-028-0026165317", "jenny")
		// .getTopical());
		// HierarchicalClassifier hc = new HierarchicalClassifier();
		// hc.voteBySentenceCount("/home/s3157645/869qrel.csv", "Jenny");
		// hc.voteBySentenceLength("/home/s3157645/869qrel.csv", "Jenny");
		// hc.voteBySentenceTokens("/home/s3157645/869qrel.csv", "Jenny");

		// WekaAdapter wa = new WekaAdapter();
		// wa.toArffSummary("/home/s3157645/869qrel.csv", "869_summ.arff",
		// "jenny");
		// wa.toArffSummary("/home/s3157645/903qrel.csv", "903_summ.arff",
		// "amos");
		// wa.readARFF("/home/s3157645/869_summ_TFIDF.arff");

		/*
		 * WekaAdapter wa = new WekaAdapter();
		 * wa.toArffFulltext("D:\\workspace\\SentenceLabelingSystem\\903qrel.csv"
		 * , "903_full.arff");
		 * wa.toArffSummary("D:\\workspace\\SentenceLabelingSystem\\903qrel.csv"
		 * , "903_summ.arff");
		 * wa.toArffFulltext("D:\\workspace\\SentenceLabelingSystem\\869qrel.csv"
		 * , "869_full.arff");
		 * wa.toArffSummary("D:\\workspace\\SentenceLabelingSystem\\869qrel.csv"
		 * , "869_summ.arff");
		 */

		// LogisticClassifier lc = new LogisticClassifier();
		// lc.classify("/home/s3157645/test.csv");
		CrossValidator cv = new CrossValidator();
		cv.loadFiles("/home/s3157645/test.csv", true);
		cv.crossValidate(5, "./data");
	}
}
